import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

// 静态路由
const staticRoutes: Array<RouteRecordRaw> = [
  {
    path: '/login',
    name: 'login',
    component: () => import('@/pages/login/index.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes: staticRoutes
})

export default router
